package com.wenjie.springbootbugdetection.service.impl;

import com.wenjie.springbootbugdetection.mapper.Bug_typeMapper;
import com.wenjie.springbootbugdetection.model.Bug_type;
import com.wenjie.springbootbugdetection.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.lang.reflect.Type;
import java.util.List;

/**
 * @author Yang wenjie
 * @date 2021/7/8 14:10
 * Nice to Meet you!
 */
@Service
public class TypeServiceImpl implements TypeService {
    @Autowired
    private Bug_typeMapper bug_typeMapper;
    @Override
    public List<Bug_type> selectAllTypes() {
        return bug_typeMapper.selectAllTypes();
    }
}
